package com.paiai.lslease.dao.apphouse;

import com.paiai.lslease.model.AppInvitationInfo;
import com.paiai.lslease.model.HouseLockQuery;
import com.paiai.lslease.model.LockExternal;

import java.sql.SQLException;
import java.util.List;

public interface AppHouseDiyDAO {

    /**
     * 获取最新的房间ID
     */
    int getNeweastAppHouseId() throws SQLException;

    /**
     * 获取最新的家具ID
     */
    int getNeweastAppFurnitureId() throws SQLException;

    /**
     * 获取最新的图片ID
     */
    int getNeweastAppPicId() throws SQLException;

    /**
     * 租客根据手机号码查询邀请列表
     */
    List<AppInvitationInfo> selectRentingInvitationListByMobile(String userMobile) throws SQLException;

    /**
     * 查询租客的设备租客列表
     */
    List<LockExternal> selectLockTenantList(HouseLockQuery houseLockQuery) throws SQLException;
}
